import BaseDao from './base';

export default class OptionsDao extends BaseDao {

  modelName = 'Options';

  constructor(modules) {
    super(modules);
  }

  async getOptionsAll(options) {
    return await this.findAll(options);
  }

  async getOptionslist(options) {
    return await this.findAndCountAll(options);
  }

  async addOptions(options) {
    return await this.insert(options);
  }
}